package com.rwcw.admin.config;

import com.rw.tool.util.cache.CacheHashMap;
import com.rw.tool.util.cache.IntegerCacheHashMap;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CacheHashMapConfig {

    @Bean
    public CacheHashMap<String,String> cacheHashMap() {
        return new CacheHashMap<>();
    }

    @Bean
    public IntegerCacheHashMap<String> integerCacheHashMap() {

        return new IntegerCacheHashMap<>();
    }
}